package top.coolrainly.module.pb.controller.admin.organization.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 党组织信息新增/修改 Request VO")
@Data
public class OrganizationSaveReqVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "28284")
    private Long id;

    @Schema(description = "上级组织编号", example = "29554")
    private Long parentId;

    @Schema(description = "组织名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @NotEmpty(message = "组织名称不能为空")
    private String name;

}